/** Part of Zombie Navigator
	Copyright © 2016  Zombie Navigator Developers
	
	@file
	@module
	@license AGPL-3.0+
*/ 'use strict';


/*
	This is an internal module used inside the abstraction wrapper.
*/


/* Addon SDK dependencies */
const _sdkWindowUtils = require('sdk/window/utils'); // XXX: Low-level API


/* Internal APIs */

/** @protected */
const jsmImport = uri => {
	const sdkWindowUtils = _sdkWindowUtils;
	
	return sdkWindowUtils.getMostRecentBrowserWindow().Cu.import('' + (uri || ''));
};

/* Exports */
exports.import = jsmImport;

// vim: ts=4 noet ai

